<?
class GDataGridDateFormat extends GDataGridFormat{
	public $format=0;
	public function __construct($format="d/m/Y H:i"){
		$this->format=$format;
		$this->setAlign(GDataGridAlignType::CENTER);
	}
	public function getValue(){
		$value=$this->value;
		if(is_numeric($this->value)){
			$value=date($this->format,$this->value);
		}
		return($value);
	}
};
?>